package net.yunzhanyi.generic.mapper;

import net.yunzhanyi.generic.domain.model.ClientFollow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author bestct
 */
@Mapper
public interface ClientFollowMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ClientFollow record);

    int insertSelective(ClientFollow record);

    ClientFollow selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ClientFollow record);

    int updateByPrimaryKey(ClientFollow record);

    ClientFollow selectByUserIdLoginId(@Param("followedId") Long followedId, @Param("userId") Long userId);

}